package com.yc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author lzk
 * @since 2024-10-05
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("createclass")
public class Createclass implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField("uid")
    private Integer uid;

    @TableField("cname")
    private String cname;

    @TableField("image")
    private String image;

    @TableField("num")
    private String num;

    @TableField("status")
    private Integer status;

    @TableField(exist = false)
    private List<Classs> classobj;

}
